<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="g" uri="/g-tags"%>
<table>
    <thead>
        <tr>
            <th style="width:40px;"><input type="checkbox" /></th>
            <th style="width:40px;">ID</th>
            <th><a href="javascript:orderBy('proposerName')">请假人</a></th>
            <th>当前步骤</th>
            <th>请假类型</th>
            <th>所属部门</th>
            <th>申请时间</th>
            <th>状态</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
    	<s:iterator value="page.items">
        <tr>
            <td><input type="checkbox" name="ids" value="${id}" /></td>
            <td >${id}</td>
            <td >${proposerName}</td>
            <td >${stapTitle}</td>
            <td><g:state state="leaveType" value="${type}"/></td>
            <td >${groupName}</td>
            <td>${insertTime}</td>
            <td><g:state state="leaveState" value="${state}"/></td>
            <td><a href="#"><span class="icon icon_page"></span>编辑</a></td>
        </tr>
        </s:iterator>
    </tbody>
</table>
<g:page/>